package kr.hkit.powerjava.chaper05.work;

import java.util.Scanner;

public class work24 {
	public static void main(String[] args) {
		
		double hakjum;
		int toefl, toeic;
		 
		Scanner sc = new Scanner(System.in);
		System.out.print("평균 학점: ");
		hakjum = sc.nextDouble();    
	    System.out.print("토플 점수: ");
	    toefl = sc.nextInt();
	    System.out.print("토익 점수: ");
	    toeic = sc.nextInt();
	    
	    boolean result = hakjum >= 3.0 && (toefl >=300 || toeic >= 700);
	    System.out.println(result);	
	}
}
